package com.roamer.rest.exception.suppert;

import com.roamer.rest.exception.BusinessException;
import com.roamer.rest.IErrorCode;

/**
 * 数据已存在
 *
 * @author roamer
 * @version V1.0
 * @date 2019/07/17 13:33
 */
public class DataConflictException extends BusinessException {
    private static final long serialVersionUID = -2878052590830567618L;

    public DataConflictException() {
        super(IErrorCode.C40900);
    }

    public DataConflictException(Object data) {
        super(IErrorCode.C40900, data);
    }
}
